Autogenerated HTML docs for v1.4.4.1-gaed4
diff --git a/git-repo-config.html b/git-repo-config.html index 6c0011b..f6bcb40 100644 --- a/git-repo-config.html +++ b/git-repo-config.html
@@ -406,6 +406,22 @@ List all variables set in config file. </p> </dd> +<dt> +--bool +</dt> +<dd> +<p> + git-repo-config will ensure that the output is "true" or "false" +</p> +</dd> +<dt> +--int +</dt> +<dd> +<p> + git-repo-config will ensure that the output is a simple decimal number +</p> +</dd> </dl> </div> <h2>ENVIRONMENT</h2> @@ -1117,7 +1133,7 @@ </div> <div id="footer"> <div id="footer-text"> -Last updated 24-Nov-2006 12:10:50 UTC +Last updated 29-Nov-2006 20:39:59 UTC </div> </div> </body>
diff --git a/git-repo-config.txt b/git-repo-config.txt index 8199615..5bede9a 100644 --- a/git-repo-config.txt +++ b/git-repo-config.txt
@@ -77,6 +77,12 @@ -l, --list:: List all variables set in config file. +--bool:: + git-repo-config will ensure that the output is "true" or "false" + +--int:: + git-repo-config will ensure that the output is a simple decimal number + ENVIRONMENT -----------
diff --git a/tutorial.html b/tutorial.html index 7570095..77b3f79 100644 --- a/tutorial.html +++ b/tutorial.html
@@ -271,6 +271,16 @@ <div class="content"> <pre><tt>$ man git-diff</tt></pre> </div></div> +<p>It is a good idea to introduce yourself to git before doing any +operation. The easiest way to do so is:</p> +<div class="listingblock"> +<div class="content"> +<pre><tt>$ cat >~/.gitconfig <<\EOF +[user] + name = Your Name Comes Here + email = you@yourdomain.example.com +EOF</tt></pre> +</div></div> </div> </div> <h2>Importing a new project</h2> @@ -290,7 +300,8 @@ </div></div> <p>You've now initialized the working directory—you may notice a new directory created, named ".git". Tell git that you want it to track -every file under the current directory with</p> +every file under the current directory with (notice the dot <em>.</em> +that means the current directory):</p> <div class="listingblock"> <div class="content"> <pre><tt>$ git add .</tt></pre> @@ -298,7 +309,7 @@ <p>Finally,</p> <div class="listingblock"> <div class="content"> -<pre><tt>$ git commit -a</tt></pre> +<pre><tt>$ git commit</tt></pre> </div></div> <p>will prompt you for a commit message, then record the current state of all the files to the repository.</p> @@ -310,10 +321,16 @@ <p>to review your changes. When you're done,</p> <div class="listingblock"> <div class="content"> -<pre><tt>$ git commit -a</tt></pre> +<pre><tt>$ git commit file1 file2...</tt></pre> </div></div> <p>will again prompt your for a message describing the change, and then -record the new versions of the modified files.</p> +record the new versions of the files you listed. It is cumbersome +to list all files and you can say <tt>-a</tt> (which stands for <em>all</em>) +instead.</p> +<div class="listingblock"> +<div class="content"> +<pre><tt>$ git commit -a</tt></pre> +</div></div> <p>A note on commit messages: Though not required, it's a good idea to begin the commit message with a single short (less than 50 character) line summarizing the change, followed by a blank line and then a more @@ -326,7 +343,7 @@ <pre><tt>$ git add path/to/new/file</tt></pre> </div></div> <p>then commit as usual. No special command is required when removing a -file; just remove it, then commit.</p> +file; just remove it, then tell <tt>commit</tt> about the file as usual.</p> <p>At any point you can view the history of your changes using</p> <div class="listingblock"> <div class="content"> @@ -710,7 +727,7 @@ </div> <div id="footer"> <div id="footer-text"> -Last updated 26-Nov-2006 07:28:21 UTC +Last updated 29-Nov-2006 20:40:00 UTC </div> </div> </body>
diff --git a/tutorial.txt b/tutorial.txt index 35af81a..fe4491d 100644 --- a/tutorial.txt +++ b/tutorial.txt
@@ -11,6 +11,18 @@ $ man git-diff ------------------------------------------------ +It is a good idea to introduce yourself to git before doing any +operation. The easiest way to do so is: + +------------------------------------------------ +$ cat >~/.gitconfig <<\EOF +[user] + name = Your Name Comes Here + email = you@yourdomain.example.com +EOF +------------------------------------------------ + + Importing a new project ----------------------- @@ -31,7 +43,8 @@ You've now initialized the working directory--you may notice a new directory created, named ".git". Tell git that you want it to track -every file under the current directory with +every file under the current directory with (notice the dot '.' +that means the current directory): ------------------------------------------------ $ git add . @@ -40,7 +53,7 @@ Finally, ------------------------------------------------ -$ git commit -a +$ git commit ------------------------------------------------ will prompt you for a commit message, then record the current state @@ -55,11 +68,17 @@ to review your changes. When you're done, ------------------------------------------------ -$ git commit -a +$ git commit file1 file2... ------------------------------------------------ will again prompt your for a message describing the change, and then -record the new versions of the modified files. +record the new versions of the files you listed. It is cumbersome +to list all files and you can say `-a` (which stands for 'all') +instead. + +------------------------------------------------ +$ git commit -a +------------------------------------------------ A note on commit messages: Though not required, it's a good idea to begin the commit message with a single short (less than 50 character) @@ -75,7 +94,7 @@ ------------------------------------------------ then commit as usual. No special command is required when removing a -file; just remove it, then commit. +file; just remove it, then tell `commit` about the file as usual. At any point you can view the history of your changes using